<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
   <!-- <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" th:href="@{/bootstrap-3.4.1-dist/css/bootstrap.css}">
    <script th:src="@{/jquery-2.1.4.js}" type="text/javascript" charset="utf-8"></script>-->
    <div th:replace="header::common_resource"></div>
</head>
<body>
    <a class="btn btn-primary" th:href="@{/index}">返回首页</a>
    <a class="btn btn-primary" th:href="@{/}">返回首页</a>
    <a class="btn btn-primary" href="/">返回首页</a>
    <hr>
    <a th:href="@{/student/demo}">访问StudentController下面的demo方法</a>
    <a th:href="@{/student/demo(id=1,name='zhangsan')}">访问StudentController下面的demo方法</a>
</body>
</html>